import request from '@/utils/request'

  // 查询详细
  export function getTaxDetails(id) {
    return request({
      url: `/car/prchaseTax/${id}`,
      method: 'get',
    })
  }
// 修改购置税信息
export function updatePrchaseTax(data) {
  return request({
    url: '/car/prchaseTax',
    method: 'put',
    data: data
  })
}
// 新增购置税信息
export function addPrchaseTax(data) {
  return request({
    url: '/car/prchaseTax',
    method: 'post',
    data: data
  })
}

// /car/prchaseTax/getByCarId/{carId}

export function getByCar(id) {
  return request({
    url: '/car/prchaseTax/'+id,
    method: 'get',

  })
}


// 新增处理查询信息车辆
export function findByIds(data) {
  return request({
    url: '/car/carBasic/findByIds',
    method: 'post',
    data: data
  })
}

export function prchaseTaxDetail(data) {
  return request({
    url: '/car/prchaseTax/workPurchaseList',
    method: 'post',
    data: data
  })
}
